#pragma once

#include "Types.h"
#include "DirectInputDevice8.h"

namespace Vortex { namespace Wrapper { namespace DInput {

	///<summary>DirectInput8 wrapper</summary>
	public ref class DirectInputKeyboard8 : DirectInputDevice8 {
		IDirectInputDevice8W* _handle;

	public:

		///<summary>Number of keys supported by this keyboard device</summary>
		static const int KEY_COUNT = 256;

		DirectInputKeyboard8(IDirectInputDevice8W* handle);

		///<summary>Read keyboard states for all of 256 key codes</summary>
		HResult ReadStates(array<Byte>^ stateArray);



	};

} } }